//
//  SingerCollectionReusableView.m
//  WXMusic
//
//  Created by 漫步人生路 on 15/9/3.
//  Copyright (c) 2015年 漫步人生路. All rights reserved.
//

#import "SingerCollectionReusableView.h"

@implementation SingerCollectionReusableView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        UIView *lineView = [[UIView alloc]initWithFrame:CGRectMake(15, 45, kWidth - 30, 1)];
        lineView.backgroundColor = [UIColor whiteColor];
        [self addSubview:lineView];
        self.singerLabel = [[UILabel alloc]initWithFrame:CGRectMake(15, 20, 80, 25)];
        self.singerLabel.text = @"热门歌手";
        self.singerLabel.textColor = [UIColor whiteColor];
        self.singerLabel.font = [UIFont boldSystemFontOfSize:14.0];
        [self addSubview:self.singerLabel];
        
        self.moreSinger = [UIButton buttonWithType:UIButtonTypeSystem];
        self.moreSinger.frame = CGRectMake(kWidth - 115, 20, 100, 30);
        [self.moreSinger setTitle:@"MoreSinger" forState:UIControlStateNormal];
        [self.moreSinger setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        [self addSubview:self.moreSinger];
        

        
    }
    return self;
}
@end
